home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _0BC05CF1875A564428A3948E112761A4 < prev    next >
Extensible Markup Language  |  2006-01-15  |  10KB  |  197 lines

  1. <?xml version="1.0" encoding="EUC-JP"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>ѽÑ╣Ñ┐ÑαÑ¿ÑΘí╝Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣ - Apache HTTP Ñ╡í╝Ñ╨</title>
  9. <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="./images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="./mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="./mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">═╤╕∞</a> | <a href="./sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p>
  15. <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p>
  16. <img alt="" src="./images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="./">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a></div><div id="page-content"><div id="preamble"><h1>ѽÑ╣Ñ┐ÑαÑ¿ÑΘí╝Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="./en/custom-error.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="./es/custom-error.html" hreflang="es" rel="alternate" title="EspaŽ╨ol"> es </a> |
  23. <a href="./ja/custom-error.html" title="Japanese"> ja </a> |
  24. <a href="./ko/custom-error.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  25. </div>
  26.  
  27.     <p>ѪѺÑ╓Ñ▐Ñ╣Ñ┐í╝ñ¼▓┐ñΘñ½ñ╬Ñ¿ÑΘí╝ñΣ╠Σ┬Ωñ╦┬╨ñ╣ñδ
  28.     Apache ñ╬╚┐▒■ñ≥└▀─Ωñ╟ñ¡ñδñΦñªñ╦ñ╣ñδ─╔▓├╡í╟╜ñ≥─≤╢íñ╖ñ▐ñ╣íú</p>
  29.  
  30.     <p>Ñ╡í╝Ñ╨ñ¼Ñ¿ÑΘí╝ñΣ╠Σ┬Ωñ≥╚»╕½ñ╖ñ┐╛∞╣τñ╬╚┐▒■ñ≥íó
  31.     Ñ½Ñ╣Ñ┐Ñ▐ÑñÑ║ñ╖ñ╞─Ω╡┴ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú</p>
  32.  
  33.     <p>Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╬╝┬╣╘ñ¼╝║╟╘ñ╖ñ╞ "500 Server Error"
  34.     ñ≥╚»└╕ñ╡ñ╗ñ┐ñ╚ñ╖ñ▐ñ╣íúñ│ñ╬╛∞╣τñ╬╚┐▒■ñ≥íóñΦñΩ╣Ññ▐ñ╖ññÑ╞Ñ¡Ñ╣Ñ╚ñΣíó╩╠ñ╬
  35.     URL (╞Γ╔⌠╡┌ñ╙│░╔⌠) ñ╪ñ╬ÑΩÑ└ÑñÑ∞Ñ»Ñ╖ÑτÑ≤ñ╦├╓ñ¡┤╣ñ¿ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú
  36.     </p>
  37.   </div>
  38. <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#behavior">╞░║ε</a></li>
  39. <li><img alt="" src="./images/down.gif" /> <a href="#configuration">└▀─Ω</a></li>
  40. <li><img alt="" src="./images/down.gif" /> <a href="#custom">ѽÑ╣Ñ┐ÑαÑ¿ÑΘí╝Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣ñ╚ÑΩÑ└ÑñÑ∞Ñ»Ñ╚</a></li>
  41. </ul></div>
  42. <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  43. <div class="section">
  44. <h2><a name="behavior" id="behavior">╞░║ε</a></h2>
  45.     
  46.  
  47.     <h3>╕┼ññ╞░║ε</h3>
  48.       
  49.  
  50.       <p>NCSA httpd 1.3 ñ╧íó╕┼ñ»ñ╞┬α╢■ñ╩Ñ¿ÑΘí╝/╠Σ┬ΩÑßÑ├Ñ╗í╝Ñ╕ñ≥
  51.       ╩╓ñ╖ñ╞ñññ▐ñ╖ñ┐íúñ╜ñ∞ñ╧ñ╖ñ╨ñ╖ñ╨ѵí╝Ñ╢ñ╦ñ╧╠╡░╒╠úñ╟ñóñΩíó
  52.       ñ▐ñ┐ñ╜ñ∞ñ≥╚»└╕ñ╡ñ╗ñ┐╕╢░°ñ≥╡¡╧┐ñ╣ñδ╩²╦íñΓ─≤╢íñ╖ñ╞ñññ▐ñ╗ñ≤ñ╟ñ╖ñ┐íú</p>
  53.     
  54.  
  55.     <h3>┐╖ñ╖ññ╞░║ε</h3>
  56.       
  57.  
  58.         <ol>
  59.           <li>NCSA ñ╬Ñ╧í╝Ñ╔Ñ│í╝Ñ╔ñ╡ñ∞ñ┐ÑßÑ├Ñ╗í╝Ñ╕ñ╬┬σñ∩ñΩñ╦
  60.           ┬╛ñ╬Ñ╞Ñ¡Ñ╣Ñ╚ñ≥╔╜╝¿</li>
  61.  
  62.           <li>Ñφí╝ѽÑδñ╬ URL ñ╦ÑΩÑ└ÑñÑ∞Ñ»Ñ╚</li>
  63.  
  64.           <li>│░╔⌠ñ╬ URL ñ╦ÑΩÑ└ÑñÑ∞Ñ»Ñ╚</li>
  65.         </ol>
  66.  
  67.         <p>ñ╣ñδñΦñªñ╦Ñ╡í╝Ñ╨ñ≥└▀─Ωñ╟ñ¡ñ▐ñ╣íú</p>
  68.  
  69.         <p>╩╠ñ╬ URL ñ╦ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╣ñδñ│ñ╚ñ╧╠≥ñ╦╬⌐ñ┴ñ▐ñ╣ñ¼íó
  70.         ñ╜ñ∞ñ╧└Γ╠└ñ≥ñ╖ñ┐ñΩíóñΦñΩ╠└│╬ñ╦╕φñΩ/╠Σ┬Ωñ≥╡¡╧┐ñ╖ñ┐ñΩñ╣ñδñ┐ñßñ╦
  71.         ▓┐ñ½╛≡╩≤ñ≥┼┴ñ¿ñΘñ∞ñδñ╚ñ¡ñ╦╕┬ñΩñ▐ñ╣íú</p>
  72.  
  73.         <p>ñ│ñ∞ñ≥╝┬╕╜ñ╣ñδñ┐ñßñ╦íó Apache ñ╧┐╖ñ╖ñ» CGI ñ╬ñΦñªñ╩┤─╢¡╩╤┐⌠ñ≥
  74.         ─Ω╡┴ñ╖ñ▐ñ╣:</p>
  75.  
  76.         <div class="example"><p><code>
  77.           REDIRECT_HTTP_ACCEPT=*/*, image/gif,
  78.           image/x-xbitmap, image/jpeg<br />
  79.            REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX
  80.           A.09.05 9000/712)<br />
  81.            REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
  82.            REDIRECT_QUERY_STRING=<br />
  83.            REDIRECT_REMOTE_ADDR=121.345.78.123<br />
  84.            REDIRECT_REMOTE_HOST=ooh.ahhh.com<br />
  85.            REDIRECT_SERVER_NAME=crash.bang.edu<br />
  86.            REDIRECT_SERVER_PORT=80<br />
  87.            REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br />
  88.            REDIRECT_URL=/cgi-bin/buggy.pl
  89.         </code></p></div>
  90.  
  91.         <p>╞¼ñ╦╔╒ñ» <code>REDIRECT_</code> ñ╦├φ╠▄ñ╖ñ╞ñ»ñ└ñ╡ññíú</p>
  92.  
  93.         <p>╛»ñ╩ñ»ñ╚ñΓ <code>REDIRECT_URL</code> ñ╚
  94.         <code>REDIRECT_QUERY_STRING</code> ñ╧┐╖ñ╖ññ URL (CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ½
  95.         CGI ÑñÑ≤Ñ»Ñδí╝Ñ╔ñ╟ñóñδñ╚▓╛─Ωñ╡ñ∞ñ▐ñ╣) ñ╦┼╧ñ╡ñ∞ñ▐ñ╣íú
  96.         ┬╛ñ╬╩╤┐⌠ñ╧íóÑ¿ÑΘí╝ñΣ╠Σ┬Ωñ¼╡»ñ¡ñδ┴░ñ╦┬╕║▀ñ╖ñ┐╛∞╣τñ╦ñ└ñ▒┬╕║▀ñ╖ñ▐ñ╣íú
  97.         ñΓñ╖ñóñ╩ñ┐ñ╬└▀─Ωñ╖ñ┐ <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> ñ¼ <em>│░╔⌠</em>ÑΩÑ└ÑñÑ∞Ñ»Ñ╚
  98.         (<em>ñ╣ñ╩ñ∩ñ┴</em>íó<code>http:</code> 
  99.         ñ╬ñΦñªñ╩┬╬╖╧╠╛ñ½ñΘ╗╧ñ▐ñδñ╣ñ┘ñ╞ñ╬ñΓñ╬íúñ┐ñ╚ñ¿╞▒ñ╕Ñ█Ñ╣Ñ╚ñ≥╗╪ñ╖ñ╞ñññ╞ñΓ)
  100.         ñ╩ñΘñ╨íóñ│ñ∞ñΘñ╧<strong>ñ▐ñ├ñ┐ñ»</strong>└▀─Ωñ╡ñ∞ñ▐ñ╗ñ≤íú</p>
  101.     
  102.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  103. <div class="section">
  104. <h2><a name="configuration" id="configuration">└▀─Ω</a></h2>
  105.     
  106.  
  107.     <p><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> ñ¼┼¼└┌ñ╦└▀─Ωñ╡ñ∞ñ╞ñññ∞ñ╨íó
  108.     .htaccess Ñ╒ÑíÑñÑδñ╟ <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code>
  109.     ñ≥╗╚═╤ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú</p>
  110.  
  111.         <p>ñ│ñ│ñ╦íóñññ»ñ─ñ½ñ╬╬πñ≥╡≤ñ▓ñ▐ñ╣íú</p>
  112.  
  113.     <div class="example"><p><code>
  114.       ErrorDocument 500 /cgi-bin/crash-recover <br />
  115.       ErrorDocument 500 "Sorry, our script crashed. Oh dear" <br />
  116.       ErrorDocument 500 http://xxx/ <br />
  117.       ErrorDocument 404 /Lame_excuses/not_found.html <br />
  118.       ErrorDocument 401 /Subscription/how_to_subscribe.html
  119.     </code></p></div>
  120.  
  121.     <p>╣╜╩╕</p>
  122.  
  123.     <div class="example"><p><code>
  124.       ErrorDocument <3-digit-code> <action>
  125.     </code></p></div>
  126.  
  127.         <p>action (╞░║ε) ñ╧íó</p>
  128.  
  129.         <ol>
  130.           <li>╔╜╝¿ñ╡ñ∞ñδñ┘ñ¡Ñ╞Ñ¡Ñ╣Ñ╚íúÑ╞Ñ¡Ñ╣Ñ╚ñ╦ñ╧░·═╤╔Σ (") ñ≥ñ─ñ▒ñ▐ñ╣íú
  131.           ░·═╤╔Σñ╬╕σñ╦┬│ñ»ñΓñ╬ñ¼▓┐ñ╟ñΓ╔╜╝¿ñ╡ñ∞ñ▐ñ╣íú
  132.           <em>├φ░╒ : (") ñ╧╔╜╝¿ñ╡ñ∞ñ▐ñ╗ñ≤</em></li>
  133.  
  134.           <li>ÑΩÑ└ÑñÑ∞Ñ»Ñ╚└Φñ╬│░╔⌠ URL </li>
  135.  
  136.           <li>ÑΩÑ└ÑñÑ∞Ñ»Ñ╚└Φñ╬Ñφí╝ѽÑδ URL </li>
  137.         </ol>
  138.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  139. <div class="section">
  140. <h2><a name="custom" id="custom">ѽÑ╣Ñ┐ÑαÑ¿ÑΘí╝Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣ñ╚ÑΩÑ└ÑñÑ∞Ñ»Ñ╚</a></h2>
  141.     
  142.  
  143.       <p>Ñ╣Ñ»ÑΩÑ╫Ñ╚/SSI ñ╦─╔▓├ñ╬┤─╢¡╩╤┐⌠ñ¼═°═╤▓─╟╜ñ╦ñ╩ñδñΦñªñ╦íó
  144.       ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñ┐ URL ñ╦┬╨ñ╣ñδ Apache ñ╬╞░║εñ¼╩╤╣╣ñ╡ñ∞ñ▐ñ╖ñ┐íú</p>
  145.  
  146.     <h3>╕┼ññ╞░║ε</h3>
  147.       
  148.  
  149.       <p>ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñ┐Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╧╔╕╜αñ╬ CGI
  150.       ┤─╢¡╩╤┐⌠ñ≥═°═╤▓─╟╜ñ╟ñ╖ñ┐íúñ╖ñ½ñ╖íóñ╔ñ│ñ½ñΘÑΩÑ└ÑñÑ∞Ñ»Ñ╚
  151.       ñ╡ñ∞ñ┐ñ½ñ╬╛≡╩≤ñ╧─≤╢íñ╡ñ∞ñ╞ñññ▐ñ╗ñ≤ñ╟ñ╖ñ┐íú</p>
  152.     
  153.  
  154.     <h3>┐╖ñ╖ññ╞░║ε</h3>
  155.       
  156.  
  157.       <p>ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñ┐└Φñ╬Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼╗╚═╤▓─╟╜ñ╩ñΦñªñ╦íó
  158.       ┐╖ñ╖ñññ┐ñ»ñ╡ñ≤ñ╬┤─╢¡╩╤┐⌠ñ¼╜Θ┤ⁿ▓╜ñ╡ñ∞ñ▐ñ╣íú┐╖ñ╖ññ╩╤┐⌠ñ╧íóñ╜ñ∞ñ╛ñ∞
  159.       <code>REDIRECT_</code> ñ╟╗╧ñ▐ñΩñ▐ñ╣íú
  160.       <code>REDIRECT_</code> ñ╟╗╧ñ▐ñδ┤─╢¡╩╤┐⌠ñ╧ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñδ┴░ñ╦┬╕║▀ñ╖ñ╞ñññ┐
  161.       CGI ┤─╢¡╩╤┐⌠ñ╬╞¼ñ╦ <code>REDIRECT_</code> ñ≥╔╒ñ▒ñ╞║ε└«ñ╡ñ∞ñ▐ñ╣íú
  162.       <em>ñ╣ñ╩ñ∩ñ┴</em>íó<code>HTTP_USER_AGENT</code> ñ╧ 
  163.       <code>REDIRECT_HTTP_USER_AGENT</code> ñ╦ñ╩ñΩñ▐ñ╣íú
  164.       ñ│ñ∞ñΘñ╬┐╖ñ╖ññ╩╤┐⌠ñ╦▓├ñ¿ñ╞íóApache ñ╧íó
  165.       Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼ÑΩÑ└ÑñÑ∞Ñ»Ñ╚╕╡ñ╬Ñ╚Ñ∞í╝Ñ╣ñ≥╜⌡ñ▒ñδñ┐ñßñ╦
  166.       <code>REDIRECT_URL</code> ñ╚ <code>REDIRECT_STATUS</code>
  167.       ñ≥─Ω╡┴ñ╖ñ▐ñ╣íúÑóÑ»Ñ╗Ñ╣ÑφÑ░ñ╦ñ╧╕╡ñ╬ URL ñ╚ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñ┐ URL
  168.       ñ╬╬╛╩²ñ¼╡¡╧┐ñ╡ñ∞ñ▐ñ╣íú</p>
  169.  
  170.     <p>ErrorDocument ñ¼ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╪ñ╬Ñφí╝ѽÑδÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ≥
  171.     ╗╪─Ωñ╖ñ╞ñññδ╛∞╣τñ╧íóñ╜ñ∞ñ≥╡»╞░ñ╣ñδñ│ñ╚ñ╦ñ╩ñ├ñ┐Ñ¿ÑΘí╝ñ╬╛⌡┬╓ñ≥
  172.     Ñ»ÑΘÑñÑóÑ≤Ñ╚ñ▐ñ╟│╬╝┬ñ╦┼┴ñ¿ñδñ┐ñßñ╦ <code>"Status:" </code>
  173.     Ñ╪Ñ├Ñ└ñ≥┤▐ñαñ┘ñ¡ñ╟ñ╣íú╬πñ¿ñ╨íóErrorDocument ═╤ñ╬ Perl
  174.     Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╧░╩▓╝ñ╬ñΦñªñ╩ñΓñ╬ñ≥┤▐ñαñ½ñΓñ╖ñ∞ñ▐ñ╗ñ≤íú
  175.     </p>
  176.  
  177.       <div class="example"><p><code>
  178.         ... <br />
  179.         print  "Content-type: text/html\n"; <br />
  180.         printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
  181.         ...
  182.       </code></p></div>
  183.  
  184.     <p>Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼ <code>404 Not Found</code> ñ╬ñΦñªñ╩
  185.     ╞├─Ωñ╬Ñ¿ÑΘí╝Ñ│Ñ≤Ñ╟ÑúÑ╖ÑτÑ≤ñ≥░╖ñªñ┐ñßñ└ñ▒ñ╦╗╚ñ∩ñ∞ñδ╛∞╣τñ╧íó
  186.     ┬σñ∩ñΩñ╦╞├─Ωñ╬Ñ│í╝Ñ╔ñ╚Ñ¿ÑΘí╝Ñ╞Ñ¡Ñ╣Ñ╚ñ≥╗╚═╤ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú</p>
  187.     
  188.   </div></div>
  189. <div class="bottomlang">
  190. <p><span>Available Languages: </span><a href="./en/custom-error.html" hreflang="en" rel="alternate" title="English"> en </a> |
  191. <a href="./es/custom-error.html" hreflang="es" rel="alternate" title="EspaŽ╨ol"> es </a> |
  192. <a href="./ja/custom-error.html" title="Japanese"> ja </a> |
  193. <a href="./ko/custom-error.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  194. </div><div id="footer">
  195. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  196. <p class="menu"><a href="./mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="./mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">═╤╕∞</a> | <a href="./sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div>
  197. </body></html>